duplication code meaning in English
复制码
重复码
Examples
- In this thesis an automatic method which is used to detect the dis - contiguous parameterized duplication code is introduced
本文介绍了一个自动的检测程序中非连续参数化重复代码的方法。 - ( 1 ) an improved parameterized matching algorithm is constructed , the improvment is that extending the matching unit from the char to statement , as a result the transform function is redefined and the complexity of the algorithm is decreased , so it is fit for detecting the duplication codes in more large scale program
所作的工作有两部分, ( 1 )对baker的参数化匹配算法进行了改进。把匹配单位由单个的字符变为程序中的语句,为了配合匹配单位的改变,重新定义了转换函数。 - ( 2 ) a fragment combining algorithm is designed to judge the combined ability of the parameterized duplication code fragment which are found by the former method , so the discontiguous parameterized duplication code is detected . the analysis indicates that the new algorithm has an acceptable complexity
经过改进,算法的空间复杂性得到降低,使之更适于大型程序文本的匹配; ( 2 )提出了程序碎片合并算法,判断通过参数化匹配算法找到的重复代码段之间的可合并性,从而能从程序中识别出非连续的近似重复代码。